<?php
header("Content-type:text/html;charset=utf-8");
//测试控制器类
class IndexController extends Controller{
    //动作方法
    public function index(){
        $db = K('User');
        $data = $db->all();
        p($data);
    }
}
